fix(deps): update dependency konva to v10 #3365
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
^9.2.0->^10.0.0Release Notes
konvajs/konva (konva)
v10.0.2Compare Source
TextPathto return correct width and heightv10.0.1Compare Source
line-throughrender for center/right aligned textv10.0.0Compare Source
Breaking Changes
Motivation: With increased usage of
konvain SSR environments like Next.js, loading native canvas rendering on the server is unnecessary since we don't render canvas content server-side. Removing this requirement simplifies setup by avoiding native modules when they aren't needed.Konva.legacyTextRendering = true. This should NOT break major part of the apps. But if you care about pixel-perfect position of text elements, that change may effect you.New Features
skiarender backend for node.js:node.filters(['blur(10px)']). Native fitlers works MUCH faster if supported nativily (Chrome, Firefox). If there is no native support, Konva will automatially fallback to functional filter (on Safari).charRenderFuncforKonva.Textfor controlling "per-character-render". May be useful any character animations:Konva.Filters.Brightnessfilter in replace of deprecatedKonva.Filters.Brightento better match with css filters logic.cornerRadiussupport forKonva.RegularPolygonmiterLimitproperty support forKonva.Shapeto control line join appearanceBug Fixes
Konva.Rectwhen negative width or height are usedTechnical Improvements
node.toImage()Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.